<div class="modal-header">
	<h3 class="modal-title">新增进程配置</h3>
</div>
<div class="modal-body">
	<form role="form" name="tableForm" id="updateform" class="form-horizontal">
		<div class="form-group">
			<label for="input-userNo_search" class="col-md-2 control-label">服务:</label>
			<div class="col-md-9">
				<input type="text" name="portname" id="portname" class="form-control" ng-model="insertComponent.command" style="">
			</div>
			
						
		</div>
		<div class="form-group" id="typeinput">
			<label for="input-userNo_search" class="col-md-2 control-label" style="">类型:</label>
				<div class="col-md-9">
					<span style="">进程告警：</span><input type="radio" value="1" name="type" style="margin-top:6px;">
					<span style="padding-left: 10px;">进程非告警：</span><input type="radio" value="0" name="type" style="margin-top:6px;">
					<span style="padding-left: 10px;">服务命令：</span><input type="radio" value="2" name="type" style="margin-top:6px;">
				</div>
		
		</div>
		<div class="form-group" >
			<label for="input-userNo_search" class="col-md-2 control-label">告警频率:</label>
				<div class="col-md-9">
					<button id="defaultfre" ng-model="insertComponent.alarmFrequencyId" ng-click="defaultfre()" style="float:left;margin-right:20%;" class="btn btn-info" value="">默认</button>
					<select id="selectedfre1" ng-change="selectedfre1()" style="width:30%;float:left;margin-right:20px;" class="form-control" ng-model="insertComponent.times">
						<option ng-repeat="x in moSites" value="{{x.id}}">{{x.name}}</option>
					</select>
					<select id="selectedfre2" ng-change="selectedfre1()" style="width:30%;float:left;" class="form-control" ng-model="insertComponent.minutes">
						<option ng-repeat="x in sixSites" value="{{x.id}}">{{x.name}}</option>
					</select>
				</div>			
		</div>
		<div class="form-group" >
			<label for="input-userNo_search" class="col-md-2 control-label">描述:</label>
				<div class="col-md-9">
					<input class="form-control" name="desc" type="text" ng-model="insertComponent.desc" style="">
				</div>			
		</div>	
		<div class="form-group" >
			<label for="input-userNo_search" class="col-md-2 control-label"style="">用途:</label>
				<div class="col-md-9">
					<input class="form-control" type="text" ng-model="insertComponent.purpose" style="">
				</div>		
		</div>
		<div class="form-group" >
			<label for="input-userNo_search" class="col-md-2 control-label"style="">状态:</label>
				<div class="col-md-9">
					<input class="form-control" type="text" ng-model="insertComponent.status" style="">
				</div>		
		</div>		
		<div class="form-group" >
			<label for="input-userNo" style="" class="col-md-2 control-label">ip:</label>
				
			<div class="col-md-9" style=""><ul name="hostid" class="ztree" id="warningSelectIP" ></ul></div>
		</div>

	</form>
</div>
<div class="modal-footer">
	<button class="btn btn-primary" type="button" ng-click="save()">确认</button>
	<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
</div>